<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript">
			window.onload=function(){
				var mybtn=document.getElementById("btn");
				mybtn.onclick=function(){
					var arr=[11,22,44,33,444];
					
					for(var i=0;i<=arr.length-1;i++){
						//下标是从0开始的
						//要小于等于最后一个下标
					}
					console.log(arr);
				}
			}
		</script>
	</head>
	<body>
		<input type="button" id="btn" value="点我" />
	</body>
</html>
